import numpy as np
zeros_arr = np.zeros((3, 4))  # 全0数组
ones_arr = np.ones((2, 3))    # 全1数组
range_arr = np.arange(0, 10, 2)  # 类似range
linspace_arr = np.linspace(0, 1, 5)  # 等间距数组
random_arr = np.random.random((2, 2))  # 随机数组

print("全0数组:\n", zeros_arr)
print("等间距数组:", linspace_arr)

# Output:全0数组:
#  [[0. 0. 0. 0.]
#  [0. 0. 0. 0.]
#  [0. 0. 0. 0.]]
# 等间距数组: [0.   0.25 0.5  0.75 1.  ]